<style>
    .nav-tabs>li>a{padding: 5px 15px}
    .thisTable tbody > tr > td{padding: 2px 7px;height: 26px}
</style>
<div class="Agencycontent" style="position: relative;margin-bottom: 20px">
    <div style="border:0">
        <div class="form-group col-md-12" style="margin:0;padding: 0;border:0">
            <table class="table table-bordered text-center thisTable" style="margin-bottom: 0;border-top:0">
                <tr>
                    <td>网点名称：</td>
                    <td>{$data.title}</td>
                    <td>网点类型：</td>
                    <td>{$data.cat}</td>
                    <td>网店等级：</td>
                    <td>{$data.grade}</td>
                    <td rowspan="6" style="width:200px;">`<img src="" alt=""></td>
                </tr>
                <tr>
                    <td>网点编号：</td>
                    <td>{$data.sn}</td>
                    <td>邮编：</td>
                    <td>{$data.zipcode}</td>
                    <td>雇员人数(个)：</td>
                    <td>{$data.em_num}</td>
                </tr>
                <tr>
                    <td>店面面积(平方米)：</td>
                    <td>{$data.area}</td>
                    <td>店面层数：</td>
                    <td>{$data.layers}</td>
                    <td>系统名称：</td>
                    <td>{$data.system_title}</td>
                </tr>
                <tr>
                    <td>网点简称：</td>
                    <td>{$data.abbr}</td>
                    <td>同品类货架节数(各产品)：</td>
                    <td>{$data.shelf_num}</td>
                    <td>收银台数：</td>
                    <td>{$data.cashiers}</td>
                </tr>
                <tr>
                    <td>同品类面积：</td>
                    <td>{$data.area_same_cat}</td>
                    <td>同品类地堆数：</td>
                    <td>{$data.lanpushs_same_cat}</td>
                    <td>同类品端架数：</td>
                    <td>{$data.frames_same_cat}</td>
                </tr>
                <tr>
                    <td>是否为重点网点：</td>
                    <td>{if $data.iskey==1}是{else}否{/if}</td>
                    <td>是否为直营网点：</td>
                    <td>{if $data.direct==1}是{else}否{/if}</td>
                    <td>是否为导购网点：</td>
                    <td>{if $data.guide==1}是{else}否{/if}</td>
                </tr>
            </table>
        </div>

    </div>
    <table class="table da_table table-bordered text-center thisTable" style="border-top: 0">
        <tr>
            <td style="border-top: 0">一级渠道类型：</td>
            <td style="border-top: 0" colspan="2">{$data.oneCType}</td>
            <td style="border-top: 0">二级渠道类型：</td>
            <td style="border-top: 0">{$data.twoCType}</td>
            <td style="border-top: 0">开始合作日期：</td>
            <td style="border-top: 0">{:date('Y-m-d',$data.cooptime)}</td>
        </tr>
        <tr>
            <td>系统自编区域：</td>
            <td colspan="2">{$data.myarea}</td>
            <td>系统自编店号：</td>
            <td>{$data.mysn}</td>
            <td>系统自编分仓：</td>
            <td>{$data.mypart}</td>
        </tr>
        <tr>
            <td>系统自编分仓代码：</td>
            <td colspan="2">{$data.mypart_code}</td>
            <td>网点开店日期：</td>
            <td>{:date('Y-m-d',$data.starttime)}</td>
            <td>是否样板网点：</td>
            <td>{if $data.sample==1}是{else}否{/if}</td>
        </tr>
        <tr>
            <td colspan="3">网点所属营销区域：</td>
            <td><span>{$data.zoning}</span>-<span>{$data.provice}</span>-<span>{$data.city}</span></td>
            <td colspan="2">是否为新进网点：</td>
            <td>{if $data.isnew==1}是{else}否{/if}</td>
        </tr>
        <tr>
            <td colspan="3">网点所属行政区域：</td>
            <td><span>{$data.exec_provice}</span>-<span>{$data.exec_city}</span>-<span>{$data.exec_county}</span></td>
            <td colspan="2">详细地址：</td>
            <td><span id="detailAddress">{$data.detailAddress} </span><a href="javascript:;"class="btn btn-default btn-outline" id="biaozhumap">在地图上重新标注</a></td>
        </tr>
        <tr>
            <td>备注：</td>
            <td colspan="6">{$data.brief}</td>
        </tr>
        <tr>
            <td>所属系统：</td>
            <td colspan="5">{$data.system_title}(<a href="javascript:;">{$data.system_sn}</a>)</td>
            <td rowspan="2"><a href="javascript:;" class="btn btn-default btn-outline" id="update">修改网点信息</a></td>
        </tr>
        <tr>
            <td>主经销商：</td>
            <td colspan="5">{$data.jxs_title}(<a href="javascript:;">{$data.jxs_sn}</a>)</td>
        </tr>
        <tr>
            <td>网络主经销商所在的营销区域：</td>
            <td colspan="6">{$data.jxs_zoning}-{$data.jxs_provice}-{$data.jxs_city}</td>
        </tr>
    </table>
</div>
<div class="row  border-bottom" id="tab_title">
     <ul class="nav nav-tabs gray-bg" id="side-menu">
        <li role="presentation" class="{if request()->action()=='view'}active{/if} J_menuItem"><a href="{:url('view',array('id'=>$data.id))}">联系人</a></li>
        <li role="presentation" class="{if request()->action()=='view1'}active{/if} J_menuItem"><a href="{:url('view1',array('id'=>$data.id))}">负责人</a></li>
        <li role="presentation" class="{if request()->action()=='view2'}active{/if} J_menuItem"><a href="{:url('view2',array('id'=>$data.id))}">导购员</a></li>
        <li role="presentation" class="{if request()->action()=='view3'}active{/if} J_menuItem"><a href="{:url('view3',array('id'=>$data.id))}">网点销售目标</a></li>
        <li role="presentation" class="{if request()->action()=='view4'}active{/if} J_menuItem"><a href="{:url('view4',array('id'=>$data.id))}">费用及销量</a></li>
        <li role="presentation" class="{if request()->action()=='view5'}active{/if} J_menuItem"><a href="{:url('view5',array('id'=>$data.id))}">促销活动</a></li>
        <li role="presentation" class="{if request()->action()=='view6'}active{/if} J_menuItem"><a href="{:url('view6',array('id'=>$data.id))}">进场条码</a></li>
        <li role="presentation" class="{if request()->action()=='view7'}active{/if} J_menuItem"><a href="{:url('view7',array('id'=>$data.id))}">产品供应</a></li>
        <li role="presentation" class="{if request()->action()=='view8'}active{/if} J_menuItem"><a href="{:url('view8',array('id'=>$data.id))}">订单</a></li>
        <li role="presentation" class="{if request()->action()=='view9'}active{/if} J_menuItem"><a href="{:url('view9',array('id'=>$data.id))}">赠品库存</a></li>
        <li role="presentation" class="{if request()->action()=='view10'}active{/if} J_menuItem"><a href="{:url('view10',array('id'=>$data.id))}">货架陈列</a></li>
        <li role="presentation" class="{if request()->action()=='view11'}active{/if} J_menuItem"><a href="{:url('view11',array('id'=>$data.id))}">广宣物料</a></li>
        <li role="presentation" class="{if request()->action()=='view12'}active{/if} J_menuItem"><a href="{:url('view12',array('id'=>$data.id))}">竞品</a></li>
        <li role="presentation" class="{if request()->action()=='view13'}active{/if} J_menuItem"><a href="{:url('view13',array('id'=>$data.id))}">拜访记录</a></li>
        <li role="presentation" class="{if request()->action()=='view14'}active{/if} J_menuItem"><a href="{:url('view14',array('id'=>$data.id))}">图片</a></li>
        <li role="presentation" class="{if request()->action()=='view15'}active{/if} J_menuItem"><a href="{:url('view15',array('id'=>$data.id))}">文档</a></li>
        <li role="presentation" class="{if request()->action()=='view16'}active{/if} J_menuItem"><a href="{:url('view16',array('id'=>$data.id))}">评价</a></li>
        <li role="presentation" class="{if request()->action()=='view17'}active{/if} J_menuItem"><a href="{:url('view17',array('id'=>$data.id))}">日志</a></li>
    </ul>
</div>
